package Undo
{
	import mx.core.UIComponent;
	
	public interface IUndoAdapter
	{
		function listenTo(object:UIComponent, stack:UndoStack) : IUndoAdapter;
		
		function unlisten() : void;
		
		function getListened() : UIComponent;
		
		function reverse(after:Object, before:Object) : Boolean;
	}
}